<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>邀请好友返好礼</title>
    <link rel="stylesheet" href="css/QrCode.css">
    <script src="js/jquery-1.8.3.min.js"></script>
</head>

<body>
    <div class='wapper'>
        <i class='goto'></i>
        <div class='header'>
            <p>bbpc.info</p>
            <p>专业的区块链服务平台</p>
        </div>
        <div class='specialFont'>
            <p>注册送 &nbsp;&nbsp;<span>1000</span>&nbsp;&nbsp;Candy</p>
            <p>9月10日-9月30日</p>
        </div>
        <div class='center'>
            <div class='btn'>邀请规则</div>
            <p>1、邀请1人赠送100个冻结得TEX,每日释放5个;</p>
            <p>2、邀请一级节点参与挖矿,算力增加受邀请节点新增算力的20%;</p>
            <p>3、邀请二级节点参与挖矿,算力增加受邀请节点新增算力的20%;</p>
            <span>注: 以上均需受邀节点通过认证</span>
        </div>
        <div class='qrcode'>
            <img src='http://bbpc.info/qrcode'></img>    
        </div>
    </div>
    <script>
        let public = 'http://bbpc.info';
        $.ajax({
            url:public+'/qrcode',
            type:'GET',
            xhrFields: {
                withCredentials: true
            },
            crossDomain: true,
            dataType:'json',
            success:function(res){
                console.log(res);
            }
        })
        $('.goto').on('click',function(e){
            window.location.href = 'mine.html';
        })
    </script>
</body>

</html>